Skip to content

Rename Sandbox Token Source to Development Token Source - #994

Merged
MaxHeimbrock merged 5 commits into
mainfrom
development-token-source
Aug 5, 2026
Merged

Rename Sandbox Token Source to Development Token Source#994
MaxHeimbrock merged 5 commits into
mainfrom
development-token-source

Conversation

@MaxHeimbrock

@MaxHeimbrock MaxHeimbrock commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Aligns with the cross-SDK rename of the sandbox token source to development token source (client-sdk-js#2032, client-sdk-swift#1077, client-sdk-unity#366).

SandboxTokenServerOptions is kept as a deprecated typealias of DevelopmentTokenServerOptions and fromSandboxTokenServer delegates to the new factory, so existing code keeps compiling. The wire protocol (endpoint URL and X-Sandbox-ID header) is unchanged. Also adds a Token sources section to the README.

Picked up in #995

Deprecation notice:
Screenshot 2026-08-05 at 10 40 48

@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 94f9303

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
client-sdk-android Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@MaxHeimbrock
MaxHeimbrock marked this pull request as ready for review August 4, 2026 15:30
devin-ai-integration[bot]

This comment was marked as resolved.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Diffuse output:

OLD: diffuse-source-file
NEW: livekit-android-sdk-release.aar

 AAR      │ old      │ new      │ diff     
──────────┼──────────┼──────────┼──────────
      jar │  2.7 MiB │  2.7 MiB │ +1.9 KiB 
 manifest │  1.5 KiB │  1.5 KiB │      0 B 
 lint-jar │ 12.7 KiB │ 12.7 KiB │      0 B 
    other │  1.9 KiB │  1.9 KiB │      0 B 
──────────┼──────────┼──────────┼──────────
    total │  2.7 MiB │  2.7 MiB │ +1.9 KiB 

 JAR     │ old   │ new   │ diff         
─────────┼───────┼───────┼──────────────
 classes │  1510 │  1511 │  +1 (+2 -1)  
 methods │ 20253 │ 20265 │ +12 (+17 -5) 
  fields │  5202 │  5203 │  +1 (+3 -2)
AAR
 size    │ diff     │ path          
─────────┼──────────┼───────────────
 2.7 MiB │ +1.9 KiB │ ∆ classes.jar 
─────────┼──────────┼───────────────
 2.7 MiB │ +1.9 KiB │ (total)
JAR
CLASSES:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   1510 │ 1511 │ +1 (+2 -1) 
  
  + io.livekit.android.token.DevelopmentTokenServerOptions
  + io.livekit.android.token.DevelopmentTokenSource
  
  - io.livekit.android.token.SandboxTokenSource
  

METHODS:

   old   │ new   │ diff         
  ───────┼───────┼──────────────
   20253 │ 20265 │ +12 (+17 -5) 
  
  + io.livekit.android.token.DevelopmentTokenServerOptions <init>()
  + io.livekit.android.token.DevelopmentTokenServerOptions <init>(String)
  + io.livekit.android.token.DevelopmentTokenServerOptions <init>(String, int, DefaultConstructorMarker)
  + io.livekit.android.token.DevelopmentTokenServerOptions component1() → String
  + io.livekit.android.token.DevelopmentTokenServerOptions copy(String) → DevelopmentTokenServerOptions
  + io.livekit.android.token.DevelopmentTokenServerOptions copy_default(DevelopmentTokenServerOptions, String, int, Object) → DevelopmentTokenServerOptions
  + io.livekit.android.token.DevelopmentTokenServerOptions equals(Object) → boolean
  + io.livekit.android.token.DevelopmentTokenServerOptions getBaseUrl() → String
  + io.livekit.android.token.DevelopmentTokenServerOptions hashCode() → int
  + io.livekit.android.token.DevelopmentTokenServerOptions toString() → String
  + io.livekit.android.token.DevelopmentTokenSource <init>(String, DevelopmentTokenServerOptions)
  + io.livekit.android.token.DevelopmentTokenSource fetch-gIAlu-s(TokenRequestOptions, Continuation) → Object
  + io.livekit.android.token.DevelopmentTokenSource getHeaders() → Map
  + io.livekit.android.token.DevelopmentTokenSource getMethod() → String
  + io.livekit.android.token.DevelopmentTokenSource getUrl() → URL
  + io.livekit.android.token.TokenSource_Companion fromDevelopmentTokenServer(String, DevelopmentTokenServerOptions) → ConfigurableTokenSource
  + io.livekit.android.token.TokenSource_Companion fromDevelopmentTokenServer_default(TokenSource_Companion, String, DevelopmentTokenServerOptions, int, Object) → ConfigurableTokenSource
  
  - io.livekit.android.token.SandboxTokenSource <init>(String, SandboxTokenServerOptions)
  - io.livekit.android.token.SandboxTokenSource fetch-gIAlu-s(TokenRequestOptions, Continuation) → Object
  - io.livekit.android.token.SandboxTokenSource getHeaders() → Map
  - io.livekit.android.token.SandboxTokenSource getMethod() → String
  - io.livekit.android.token.SandboxTokenSource getUrl() → URL
  

FIELDS:

   old  │ new  │ diff       
  ──────┼──────┼────────────
   5202 │ 5203 │ +1 (+3 -2) 
  
  + io.livekit.android.token.DevelopmentTokenServerOptions baseUrl: String
  + io.livekit.android.token.DevelopmentTokenSource headers: Map
  + io.livekit.android.token.DevelopmentTokenSource url: URL
  
  - io.livekit.android.token.SandboxTokenSource headers: Map
  - io.livekit.android.token.SandboxTokenSource url: URL

devin-ai-integration[bot]

This comment was marked as resolved.

MaxHeimbrock and others added 5 commits August 5, 2026 18:59
…fromSandboxTokenServer

Aligns with the cross-SDK rename of the sandbox token source to
development token source (client-sdk-js#2032, client-sdk-swift#1077,
client-sdk-unity#366). SandboxTokenServerOptions is kept as a deprecated
typealias of DevelopmentTokenServerOptions and fromSandboxTokenServer
delegates to the new factory, so existing code keeps compiling. The wire
protocol (endpoint URL and X-Sandbox-ID header) is unchanged. Also adds
a Token sources section to the README.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ibility

A typealias only exists at compile time, so the JVM class shipped in
v2.21.0-v2.27.0 would disappear from the artifact, breaking already
compiled apps and Java consumers. Restoring the data class (and the
original fromSandboxTokenServer signature) preserves the released ABI.
Also adds the KDoc required for public APIs to the deprecated members.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@davidliu
davidliu force-pushed the development-token-source branch from aeac50a to 94f9303 Compare August 5, 2026 09:59
@MaxHeimbrock
MaxHeimbrock merged commit eeec899 into main Aug 5, 2026
6 checks passed
@MaxHeimbrock
MaxHeimbrock deleted the development-token-source branch August 5, 2026 10:14
@davidliu davidliu mentioned this pull request Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants